package com.hhf.feiojuserservice;

import com.hhf.feiojapiservice.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


@SpringBootApplication()
@MapperScan("com.hhf.feiojuserservice.mapper")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.hhf.feiojapiservice.client","com.hhf.feiojuserservice"})
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class FeiojUserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeiojUserServiceApplication.class, args);
    }

}
